﻿using CustomModel;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IDeskServiceBLL
{
    public interface IShopBLL
    {
        List<province> GetProvinceList(out string error);
        List<city> GetCityByProvinceId(int id, out string error);
        List<area> GetAreaByCityId(int id, out string error);
        bool RegistShop(RegistShopModel model, out string error);

        /// <summary>
        /// 根据用户主键获得商铺列表实体集合
        /// </summary>
        /// <param name="userid">用户id</param>
        /// <returns></returns>
        List<shopinfo> GetShopInfos(int userid, ShopStatusEnum shopStatus, out string error);
    }
}
